SdJwtVcTypeMetadata

@Serializable
data class SdJwtVcTypeMetadata(val vct: Vct, val vctIntegrity: DocumentIntegrity? = null, val name: String? = null, val description: String? = null, val extends: URI? = null, val extendsIntegrity: DocumentIntegrity? = null, val display: Display? = null, val claims: List<ClaimMetadata>? = null, val schema: JsonSchema? = null, val schemaUri: URI? = null, val schemaUriIntegrity: DocumentIntegrity? = null)(source)

Constructors

Link copied to clipboard
constructor(vct: Vct, vctIntegrity: DocumentIntegrity? = null, name: String? = null, description: String? = null, extends: URI? = null, extendsIntegrity: DocumentIntegrity? = null, display: Display? = null, claims: List<ClaimMetadata>? = null, schema: JsonSchema? = null, schemaUri: URI? = null, schemaUriIntegrity: DocumentIntegrity? = null)

Properties

Link copied to clipboard
@SerialName(value = "claims")
val claims: List<ClaimMetadata>? = null

List containing claim information for the type

Link copied to clipboard
@SerialName(value = "description")
val description: String? = null

A human-readable description for the type, intended for developers reading the JSON document

Link copied to clipboard
@SerialName(value = "display")
val display: Display? = null

A list containing display information for the type. It MUST contain an object for each language that is supported by the type.

Link copied to clipboard
@Serializable(with = URISerializer::class)
@SerialName(value = "extends")
val extends: URI? = null

A URI of another type that this type extends

Link copied to clipboard
@SerialName(value = "extends#integrity")
val extendsIntegrity: DocumentIntegrity? = null
Link copied to clipboard
@SerialName(value = "name")
val name: String? = null

A human-readable name for the type, intended for developers reading the JSON document

Link copied to clipboard
@SerialName(value = "schema")
val schema: JsonSchema? = null

An embedded JSON Schema document describing the structure of the Verifiable Credential MUST NOT be used if schema_uri is present

Link copied to clipboard
@Serializable(with = URISerializer::class)
@SerialName(value = "schema_uri")
val schemaUri: URI? = null

A URL pointing to a JSON Schema document describing the structure of the Verifiable Credential MUST NOT be used if schema is present

Link copied to clipboard
@SerialName(value = "schema_uri#integrity")
val schemaUriIntegrity: DocumentIntegrity? = null
Link copied to clipboard
@SerialName(value = "vct")
@Required
val vct: Vct
Link copied to clipboard
@SerialName(value = "vct#integrity")
val vctIntegrity: DocumentIntegrity? = null